package com.gome.han.cloud.consumer.feigin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
* @author hanpeng
* @version 创建时间：2020年8月8日 下午12:57:45
* @ClassName 类名称
* @Description 类描述
* 哪些包下的class 需要被扫描 @EnableFeignClients(basePackages= {"com.gome.han.springcloud.api"})
*/
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages= {"com.gome.han"})
@ComponentScan("com.gome.han")
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class);
	}
}
